﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BLL;
using Model;

namespace Education.Controllers
{
    public class WalkInController : Controller
    {
        //
        // GET: /WalkIn/
        
        public ActionResult Index()
        {
            return View();
        }
        //走进精锐
        public ActionResult about()
        {
            return View();
        }


        /// <summary>
        /// 显示奖项
        /// </summary>
        /// <returns></returns>
        public ActionResult Showawards()
        {
            Awards_奖项_BLL bll = new Awards_奖项_BLL();
            return Json(bll.ShowAwards(),JsonRequestBehavior.AllowGet);
        }

        /// <summary>
        /// 显示学霸之路的信息
        /// </summary>
        /// <returns></returns>
        public ActionResult Showass()
        {
            Ass_学霸之路_BLL bll = new Ass_学霸之路_BLL();
            return Json(bll.ShowAss(),JsonRequestBehavior.AllowGet);
        }

    }
}
